<%--
  学生端的任务管理
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        table{
            width: 1200px;
        }
        tr,td{
            border: grey 1px ;
        }
        td{
            height: 40px;
        }

        table td{
            height: 60px;
            vertical-align: middle!important;
            text-align: center;
        }

        tr,td{border-right:1px solid #888;border-bottom:1px solid #888;padding:5px 15px;}

        th{font-weight:bold;background:#ccc;}

        .con-b .row .lf{
            width: 15%;
            text-align: center;
            padding: 10px;
        }
        .con-b .row .rg{
            width: 85%;
        }

        .con-b tr:nth-of-type(odd){
            background-color: #f2f2f2;
        }

    </style>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</head>
<body>
<table border="1" cellspacing="0" align="center" class="con-b">
    <thead>
    <%--userId,studentAnswer,taskAccount,isFinsh,isScore,studentQuestion,teacherView--%>
    <tr class="row" style="color: black;font-size: 25px" >
        <td class="lf">序号</td>
        <td class="lf">任务名称</td>
        <td class="lf">任务要求</td>
        <td class="lf">任务提交</td>
        <td class="lf">截止时间</td>
        <td class="lf">分数</td>
        <td class="lf">我的问题</td>
        <td class="lf">老师评价</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <c:forEach items="${arr}" var="task">
            <td class="lf">${task.getTaskAccount()}</td>
            <td class="lf">${task.getTaskName()}</td>
            <td class="lf">${task.getTaskRequirement()}</td>
            <td class="lf">${task.gettaskDate()}</td>
            <td class="lf">${task.getIsScore()}</td>
            <td class="lf">${task.getStudentQuestion()}</td>
            <td class="lf">${task.getTeacherView()}</td>
            </c:forEach>
    </tr>

    </tbody>


</table>

</body>

<script>
    function deleteThisPerson(userAccount){
        alert("删除:"+userAccount)
    }

    function fixThisPerson(userAccount) {
        alert("修改:"+userAccount)
    }


</script>


</html>

